package com.service;

import java.util.List;
import java.util.Map;

public interface CommentService {
    List<Map<String,Object>> queryAllComment(int foodId,int pageIndex,int pageSize);
    int addCommentByUserID(int userId, String comment, int foodId);

    int getPageCount(int pageSize,int foodId);

    int deleteCommentById(int commentId);

    int modifyComment(int commentId, String comment);
}
